gdk: Tweak our GL debug message callback
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 13:25:47 +0000 (09:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 14:34:30 +0000 (10:34 -0400)
commitbdbfaef4d816edb6c1b3f9acd877b33361ca7553
treed8e2da23c9ba16aff042ade7b4ea5ee58c2879e4
parent214c35ffc70ae4ec82091e708bccef93afc95e34
gdk: Tweak our GL debug message callback

Go back to installing our debug message callback
unconditionally if G_ENABLE_CONSISTENCY_CHECKS is
defined, and allow opting into it using GDK_DEBUG=gl-debug
otherwise.
gdk/gdkglcontext.c